package com.zFace.单例模式;

/**
 * 恶汉式：线程安全，调用率高，不能延迟加载
 */
public class Demo01 {
	private static Demo01 instance = new Demo01();

	private Demo01() {
	}

	public static Demo01 getInstance() {
		return instance;
	}
}